var t = getApp();

Component({
    properties: {
        data: {
            type: null
        }
    },
    data: {
        is_market: !1,
        prdocut_market_name: "",
        prdocut_market_name_apps: "",
        marketShow: !1,
        prdocut_market: {}
    },
    observers: {
        data: function(t) {
            t && this.init(t);
        }
    },
    methods: {
        init: function(a) {
            a.plugin && (t._isTextEmpty(a.plugin.prdocut_market) || this.setData({
                is_market: !0,
                prdocut_market: a.plugin.prdocut_market,
                prdocut_market_name: a.plugin.prdocut_market.plugin,
                prdocut_market_name_apps: a.plugin.prdocut_market.apps
            }));
        },
        marketShowTap: function(t) {
            this.setData({
                marketShow: !0
            });
        },
        closeMarketShow: function() {
            this.setData({
                marketShow: !1
            });
        }
    }
});